<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单绑定-单选按钮radio</title>
  <script type="text/javascript" src="vue.js"></script>
</head>
<body>
<div id="app">
    <span>选择一种语言: {{ language }}</span>
    <br/>
    <input type="radio" id="python" 
        value="Python" v-model="language"/>
    <label for="python">Python</label>

    <input type="radio" id="javascript" 
        value="JavaScript" v-model="language"/>
    <label for="javascript">JavaScript</label>

    <input type="radio" id="pascal" 
    value="Pascal" v-model="language"/>
    <label for="pascal">Pascal</label>
</div>
<script>
    let vm = new Vue({
        el:"#app",
        data:{
            language:""
        }
    })
</script>
</body>
</html>